package com.lian.pet.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("新增宠物活动")
public class AddPetEventDTO {
    @ApiModelProperty(value = "活动名称")
    private String name;
    @ApiModelProperty(value = "活动类型")
    private String type;
    @ApiModelProperty(value = "活动地点")
    private String location;
    @ApiModelProperty(value="活动描述")
    private String description;
    @ApiModelProperty(value = "宠物ID")
    private Integer petId;
    @ApiModelProperty(value = "活动开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date date_start;
    @ApiModelProperty(value = "活动结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date date_end;
}
